﻿Public Class PauseMenu

    Private Sub PauseMenu_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'Me.Left = (Parent.Left - Me.Width) / 2
        'Me.Top = (Parent.Top - Me.Height) / 2

    End Sub

    Private Sub CustomButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomButton1.Click
        If (MsgBox("Restart game ?", MsgBoxStyle.YesNo, "Restart Confirmation") = MsgBoxResult.Yes) Then
            DialogResult = Windows.Forms.DialogResult.Retry
        End If
    End Sub

    Private Sub CustomButton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomButton3.Click
        DialogResult = Windows.Forms.DialogResult.Cancel
    End Sub

    Private Sub CustomButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomButton2.Click

    End Sub
End Class